package com.mmall.service;

import com.mmall.common.ServerResponse;

/**
 * Created by hanchao on 2018/1/19.
 */
public interface ICartService {

    ServerResponse add(Integer userId, Integer productId, Integer count);
    ServerResponse update(Integer userId,Integer productId,Integer count);
    ServerResponse deletProduct(Integer userId,String productIds);
    ServerResponse list(Integer userId);
    ServerResponse selectOrUnSelect(Integer userId,Integer checked,Integer productId);
    ServerResponse getCartProductCount(Integer userId);
}
